package com.example.devops.service;

import com.example.devops.entity.common.Result;
import com.example.devops.entity.pojo.MirrorInformation;
import com.example.devops.entity.pojo.Project;

import java.text.ParseException;

/**
 * @author wjh
 * ∗@date 2022/4/14
 */
public interface IProjectService {
    public Result projectPublish(Long id) throws ParseException;
    public Result UpdateProject(Project project);
    public Result deleteProject(Project project);
    public Result findAllProjectByMember();
    public Result recentlyPublish();
    public Result getPublishInstance(Long id);
    public Result insertSuccessProject(String branch, String mirrorId, String port, MirrorInformation mirrorInformation);
    public Result findAllInstance();
}
